package com.yundasys.lab02springbootstudy.listener;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.event.ApplicationStartingEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

/**
 * @PACKAGE_NAME: com.yundasys.lab02springbootstudy.listener
 * @NAME: ApplicationStartingEventListener
 * @USER: jiangta
 * @DATE: 2021/11/15
 * @TIME: 9:46 上午
 * @PROJECT_NAME: springboot-labs
 */
@Slf4j
@Component
public class ApplicationStartingEventListener implements ApplicationListener<ApplicationStartingEvent> {
    @Override
    public void onApplicationEvent(ApplicationStartingEvent event) {
        log.info("......ApplicationStartingEvent......");
    }
}
